﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<FarmaciaWeb.Models.AsignarPedido>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Asignar Pedido
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Asignar Pedido</h2>

    <table>
        <tr>
            <th></th>
            <th>
                Codigo
            </th>
            <th>
                NomCliente
            </th>
            <th>
                Mensajero
            </th>            
        </tr>

    <% foreach (var item in Model) { %> 
            
        <tr>
            <td>
                <%: Html.ActionLink("Confirmar", "Confirmar", new {  id=item.Codigo })%> |                
            </td>
            <td>
                <%: item.Codigo %>
            </td>
            <td>
                <%: item.NomCliente %>
            </td>            
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Confirmar", "Confirmar") %>
    </p>

</asp:Content>

